AppBuilder\Api\Product A

Total Complexity 73
Dependencies 13
Dependents 1
Total lines 780
Lines of code 517
Logical lines of code 213
Comment lines 154
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
product_variations()
B
35 16 85
get_category_by_parent_id()
A
44 7 47
custom_woocommerce_rest_prepare_product_attribute()
A
45 7 42
term_counts()
A
41 6 55
prepare_variations_for_response()
S
41 5 54
get_images()
S
48 6 34
register_routes()
S
43 2 61
prepare_product_variation_images()
S
60 5 13
get_min_max_prices()
S
46 3 38
woocommerce_rest_product_object_query()
S
58 4 15
get_downloads()
S
61 3 13
rating_count()
S
55 2 20
categories()
S
58 2 16
__construct()
S
80 1 3
add_value_pa_image()
S
63 1 10
add_value_pa_color()
S
71 1 5
str_starts_with()
S
77 1 3
get_items_permissions_check()
S
82 1 3